package com.huobi.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huobi.db.bean.Config;
import com.huobi.db.bean.TradeDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TradeDetailMapper extends BaseMapper<TradeDetail> {

    void batchInsert(@Param("daily") String daily,@Param("records") List<TradeDetail> list);

    void createTable(@Param("daily")String currentDaily);

    int existTable(@Param("daily") String currentDaily);
}
